﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using CoffeeBar.Models;
using CoffeeBar.Models.Webservice_Access;

namespace CoffeeBar.Controllers
{
    public class AdminsController : Controller
    {
        //
        // GET: /Admins/
        //[Authorize(Roles="Admin")]
        protected DataAccess da = new DataAccess();
        public ActionResult Index()
        {
            if (Request.IsAuthenticated)
            {
            }
            else
            {
                //return RedirectToAction("LogOn");
            }
            return View();
        }
        public ActionResult Logon()
        {
            return View();
        }
        [HttpPost]
        public ActionResult Logon(LogOnModel model, string returnUrl)
        {
            return View();
        }
        public ActionResult LogOut()
        {
            return View();
        }
       
    }
}
